<!-- 列表片段 -->
<!--<div class="row-fluid">-->
<div class="col-xs-12">
    <table class="table table-striped table-bordered table-hover table-condensed">
        <thead>
        <tr>
            <th>任务ID</th>
            <th>状态</th>
            <th>URL</th>
            <th>专区</th>
            <th>标题</th>
            <th>视频VID</th>
            <th>任务开始时间</th>
            <th>任务结束时间</th>
        </tr>
        </thead>
        <tbody>
        <{foreach $list as $l}>
        <tr data-id="<{$l.request_id}>">
            <td><{$l.task_id}></td>
            <td><{if $l.status eq 0}>抓取中<{elseif $l.status eq 1}>抓取成功<{elseif $l.status eq 2}>抓取失败<{/if}></td>
            <td style="max-width: 200px; overflow: auto;"><{$l.url}></td>
            <td><{$l.channel}></td>
            <td><{$l.title}></td>
            <td><{$l.vid}></td>
            <td><{date('Y-m-d H:i:s', $l.start_time)}></td>
            <td><{date('Y-m-d H:i:s', $l.end_time)}></td>
        </tr>
        <{/foreach}>
        </tbody>
    </table>
</div>
<!--
</div>-->

<div style="text-align: center; margin-left: auto;margin-right: auto;">
    <{bs3page page=$pages r='admin/tasklist' status=$status}>
</div>